#include <stdio.h>
int main()
{
    int math = 100, english = 86, physics = 78;
    printf("%d",(math + english + physics) / 3);
    return 0;
}